package com.gccloud.tgyfirst.demo.common;

import com.gccloud.starter.plugins.validator.group.Update;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @author qianxing
 * @version 1.0
 * @date 2021/5/17 14:08
 */
@Data
public class StudentCourseCommon {

    @ApiModelProperty(notes = "主键")
    @NotBlank(message = "ID不能为空", groups = {Update.class})
    private String id;

    @ApiModelProperty(notes = "学生id")
    private String StudentId;

    @ApiModelProperty(notes = "课程id")
    private String CourseId;
}
